package com.dao;

import java.sql.SQLException;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.domain.WorkOrder;

@Repository
public class WorkOrderDao extends BaseDao{
	@SuppressWarnings("unchecked")
	public List<WorkOrder> getAllOrders(){
		try {
			return sqlMapClient.queryForList("selectAllOrders");
		} catch (SQLException e) {
			e.printStackTrace();
		}
		return null;
	}
}
